package com.example.service;

import com.example.model.ResponseData.StaticticsBo;
import com.example.model.domain.Article;
import com.example.model.domain.Comment;

import java.util.List;

public interface ISiteService {
        //获取最新评论
        public List<Comment> recentComments(int count);
        //获取最新文章
        public List<Article> recentArticle(int count);
        //获取后天统计的数据
        public StaticticsBo getStatistics();
        //更新某个文章的统计数据
        public void updateStatistics(Article article);
}